'''class student(object):
    def get_score(self):
        return self._score
    def set_score(self,value):
        if not isinstance(value,int):
            raise ValueError('score must be an int !')
        if value<0 or value>100:
            raise ValueError('score must between 0 ~100 !')
        self._score=value
s=student()
s.set_score(50)
s.get_score()'''
class test(object):
    @property
    def score(self):
        return self._score
    @score.setter
    def score(self,value):
        if not isinstance(value,int):
            raise ValueError('value must be an int !')
        if value<0 or value>100:
            raise ValueError('value must betweent in 0~100')
        self._score=value
s=test()
s.score=60
s.score